﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmIngresoPlanificacion.aspx.vb" Inherits="Interfaz_ModuloPlanificacion_frmIngresoPlanificacion" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    
    <center>
           
       <table style="border-right: lightblue thin solid; border-top: lightblue thin solid; border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid; background-color: white">
         <tr>
                <td colspan="6" style="background: black; width: 100%; height: 19px; text-align: center">
                    <strong>PLANIFICACIÓN</strong></td>
            </tr>
           <tr>
               <td>
    <table style="border-right: lightblue thin solid; border-top: lightblue thin solid; border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid; background-color: white">
        <tr>
            <td style="width: 106px">
                Seleccione OT
                </td>
            <td style="width: 130px">
                &nbsp;<asp:DropDownList
                    ID="DdlOT" runat="server" AutoPostBack="True">
                </asp:DropDownList></td>
            <td style="width: 172px">
                &nbsp;<asp:Button ID="Btn_Ingresar_Planificacion" runat="server" OnClientClick="return confirm('Esta Seguro que Desea Crear una Nueva Planificacion Para la OT Seleccionada')"
                    Text="Crear Planificación" /></td>
        </tr>
        <tr>
            <td style="width: 106px">
                Ingrese K (densidad acero)</td>
            <td style="width: 130px">
                <asp:TextBox ID="TxtDensidad" runat="server" Width="88px"></asp:TextBox></td>
            <td style="width: 172px">
            </td>
        </tr>
    </table>
               </td>
           </tr>
           <tr>
               <td style="height: 33px">
                <asp:Label ID="LblMsje" runat="server" Text="Label"></asp:Label></td>
           </tr>
        <tr>
            <td>
<table style="border-right: lightblue thin solid; border-top: lightblue thin solid; border-left: lightblue thin solid; width: 933px; height :500px border-bottom: lightblue thin solid; background-color: white">
             <tr>
                 <td colspan="5" style="width: 100%; text-align: center; height: 83px;">
             <center>
         <asp:GridView ID="GridItems" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
             ForeColor="#333333" GridLines="None"  Width="46%" CssClass="mGrid">
             <RowStyle BackColor="#EFF3FB" />
             <Columns>
                <asp:BoundField DataField="NPLANIFICACION" HeaderText="N&#176;" />
                        <asp:BoundField DataField="FECHA" HeaderText="Fecha" />
                        <asp:TemplateField HeaderText="Planificar">
                            <ItemTemplate>
                            <center >
                                <asp:Button ID="BtnEditarPlanificacion" CommandName="EditarPlanificacion" runat="server" Text="Planificar" 
                                CommandArgument="<%# CType(Container,GridViewRow).RowIndex %>"/>
                                </center>
                            </ItemTemplate>
                        </asp:TemplateField>
                
                 
             </Columns>
             <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
             <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
             <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
             <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
             <EditRowStyle BackColor="#2461BF" />
             <AlternatingRowStyle BackColor="White" />
         </asp:GridView>
                   </center>        
                 </td>
             </tr>
         </table>          
            </td>
        </tr>
    </table>
		</center>

</asp:Content>

